home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
pcmagazi
/
1992
/
04
/
demo3.rc
< prev
next >
Wrap
Text File
|
1991-11-26
|
1KB
|
35 lines
#include "windows.h"
#include "demo3.h"
DemoMenu MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Enter text...", IDM_ENTER
END
END
TextEntryBox1 DIALOG 30, 24, 141, 76
CAPTION "Text Entry Dialog"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
BEGIN
CTEXT "Enter some text please...", -1, 29, 15, 82, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
EDITTEXT IDD_EDITTEXT, 5, 31, 130, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 31, 55, 31, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "Cancel", IDD_CANCEL, 78, 55, 31, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
TextEntryBox2 DIALOG 30, 24, 141, 76
CAPTION "Text Entry Dialog"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
BEGIN
CTEXT "Enter some text please...", -1, 29, 15, 82, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CONTROL " ", IDD_EDITTEXT, "bedit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 5, 29, 130, 16
DEFPUSHBUTTON "OK", IDOK, 31, 55, 31, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "Cancel", IDD_CANCEL, 78, 55, 31, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END